-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial galaxy.yml #388
initial galaxy.yml #388
Conversation
this closes #198 |
lint, after that's fixed I will make some modifications to this file |
@egandro Great PR. |
I have no clue how / what you want to lint me. The file was created with the Please clearify what I should do. |
Done. Please check if that is ok. |
The build is failing because linting is failing. You can see it here https://github.com/techno-tim/k3s-ansible/actions/runs/6707725821/job/18248637705 You can also check and fix these locally by using |
I fixed it - by ignoring it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@egandro You can batch accept the suggestions.
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url) | ||
# @nicks:irc/im.site#channel' | ||
authors: | ||
- your name <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be filled out, probably by @timothystewart6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's on Tim - I see no point for all authors putting emails here. That's all done with the git repo.
Co-authored-by: Dov Benyomin Sohacheski <[email protected]>
Co-authored-by: Dov Benyomin Sohacheski <[email protected]>
Co-authored-by: Dov Benyomin Sohacheski <[email protected]>
Co-authored-by: Dov Benyomin Sohacheski <[email protected]>
I have no idea what is breaking. |
Check the build logs, it's in there. Lint. The first step. https://github.com/techno-tim/k3s-ansible/actions/runs/6722041556/job/18304808757?pr=388#step:7:149 |
see this comment, it's the same thing. Just install pre-commit and you won't have these issues |
Edit: Legit ... "ansible-galaxy collection init techno_tim.k3s_ansible" It creates 2 empty lines at the end of the galaxy.yml file ... it's "them" not "us". |
Well I have strict lint code style on this repo. It's pretty common with all code bases. Just because something else generated it does not mean it matches the target's code style. again, just install |
I totally understand the reasons and the why you are doing this. 100% legit and I agree. I haven't got beaten up by ansible galaxy when trying to actually deploy it to their repos. There might be good resons - not - to mess a lot with galaxy.yml (which is a fair guestimation) with my knowledge at this point. |
yaml is yaml, fixing lint does not change the schema 😄 |
Thanks for sticking with it @egandro ! We're having some issues with the CI job running the rest of the tests. As soon as it's resolved I will merge this! |
Thanks for this! Very helpful addition 👍 |
Proposed Changes
Add a galaxy.yml file to use as collection in bigger ansible projects.
Instructions:
collections/requirements.yml
ansible-galaxy collection install -r ./collections/requirements.yml
techno_tim.k3s_ansible.
e.g.techno_tim.k3s_ansible.lxc
Checklist